#!/bin/bash
#WARNING WARNING WARNING
#this rc file is meant for use on Nu only, please modify to meet your needs

export EMERGE_DEFAULT_OPTS="$(portageq envvar EMERGE_DEFAULT_OPTS) --jobs=32 --load-average=32 --backtrack=99"
#export EMERGE_DEFAULT_OPTS="$(portageq envvar EMERGE_DEFAULT_OPTS) --jobs=1 --quiet --backtrack=99"
export MAKEOPTS="-j8"
#export MAKEOPTS="-j1"
export INPUT_DEVICES="$(portageq envvar INPUT_DEVICES) synaptics"
export clst_myfeatures="$(portageq envvar FEATURES) parallel-install -ebuild-locks -preserve-libs -clean-logs -news splitdebug cgroup"
export FEATURES="$(portageq envvar FEATURES) parallel-install -ebuild-locks -preserve-libs -clean-logs -news splitdebug cgroup"
#export clst_myfeatures="$(portageq envvar FEATURES) parallel-install -ebuild-locks -preserve-libs -clean-logs -news splitdebug cgroup test test-fail-continue"
#export FEATURES="$(portageq envvar FEATURES) parallel-install -ebuild-locks -preserve-libs -clean-logs -news splitdebug cgroup test test-fail-continue"
export ACCEPT_LICENSE="Intel-SDP NVIDIA-CUDA"
export PORTAGE_NICENESS="15"
#c 0-3 n 0-7 lower number is higher priority
export PORTAGE_IO_NICENESS="ionice -c 3 -p \${PID}"
export PORT_LOGDIR="/var/log/portage"
export PORTAGE_COMPRESS=""
export CONFIG_CHECK_FATAL=0
export LANG="en_US.UTF-8"
export TERM="linux"
export INSTALL_MASK=""

#export LC_ALL="C"

#export PORTAGE_BINHOST="http://192.168.1.251/pentoo/Packages/amd64-default/ http://192.168.1.251/pentoo/Packages/amd64-hardened/ http://192.168.1.251/pentoo/Packages/x86-default/ http://192.168.1.251/pentoo/Packages/x86-hardened/"

#kensington's tinderbox script settings
export TINDERBOX_DIR=/var/log/portage/tinderbox
export DEPCHECK_BIN=/etc/portage/depcheck

#this toggles on and off various debug shells to fix issues during catalyst builds
#export debugshell=true
#export reckless=true
